<div class="scheduleOptions view">
<h2><?php echo __('Schedule Option'); ?></h2>
	<dl>
		<dt><?php echo __('Id'); ?></dt>
		<dd>
			<?php echo h($scheduleOption['ScheduleOption']['id']); ?>
			&nbsp;
		</dd>
		<dt><?php echo __('Section'); ?></dt>
		<dd>
			<?php echo $this->Html->link($scheduleOption['Section']['id'], array('controller' => 'sections', 'action' => 'view', $scheduleOption['Section']['id'])); ?>
			&nbsp;
		</dd>
	</dl>
</div>
<div class="actions">
	<h3><?php echo __('Actions'); ?></h3>
	<ul>
		<li><?php echo $this->Html->link(__('Edit Schedule Option'), array('action' => 'edit', $scheduleOption['ScheduleOption']['id'])); ?> </li>
		<li><?php echo $this->Form->postLink(__('Delete Schedule Option'), array('action' => 'delete', $scheduleOption['ScheduleOption']['id']), null, __('Are you sure you want to delete # %s?', $scheduleOption['ScheduleOption']['id'])); ?> </li>
		<li><?php echo $this->Html->link(__('List Schedule Options'), array('action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('New Schedule Option'), array('action' => 'add')); ?> </li>
		<li><?php echo $this->Html->link(__('List Sections'), array('controller' => 'sections', 'action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('New Section'), array('controller' => 'sections', 'action' => 'add')); ?> </li>
		<li><?php echo $this->Html->link(__('List Schedules'), array('controller' => 'schedules', 'action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('New Schedule'), array('controller' => 'schedules', 'action' => 'add')); ?> </li>
		<li><?php echo $this->Html->link(__('List Schedules Options Users'), array('controller' => 'schedules_options_users', 'action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('New Schedules Options User'), array('controller' => 'schedules_options_users', 'action' => 'add')); ?> </li>
	</ul>
</div>
<div class="related">
	<h3><?php echo __('Related Schedules'); ?></h3>
	<?php if (!empty($scheduleOption['Schedule'])): ?>
	<table cellpadding = "0" cellspacing = "0">
	<tr>
		<th><?php echo __('Id'); ?></th>
		<th><?php echo __('Schedule Option Id'); ?></th>
		<th><?php echo __('Type'); ?></th>
		<th><?php echo __('Extended'); ?></th>
		<th><?php echo __('Module'); ?></th>
		<th class="actions"><?php echo __('Actions'); ?></th>
	</tr>
	<?php foreach ($scheduleOption['Schedule'] as $schedule): ?>
		<tr>
			<td><?php echo $schedule['id']; ?></td>
			<td><?php echo $schedule['schedule_option_id']; ?></td>
			<td><?php echo $schedule['type']; ?></td>
			<td><?php echo $schedule['extended']; ?></td>
			<td><?php echo $schedule['module']; ?></td>
			<td class="actions">
				<?php echo $this->Html->link(__('View'), array('controller' => 'schedules', 'action' => 'view', $schedule['id'])); ?>
				<?php echo $this->Html->link(__('Edit'), array('controller' => 'schedules', 'action' => 'edit', $schedule['id'])); ?>
				<?php echo $this->Form->postLink(__('Delete'), array('controller' => 'schedules', 'action' => 'delete', $schedule['id']), null, __('Are you sure you want to delete # %s?', $schedule['id'])); ?>
			</td>
		</tr>
	<?php endforeach; ?>
	</table>
<?php endif; ?>

	<div class="actions">
		<ul>
			<li><?php echo $this->Html->link(__('New Schedule'), array('controller' => 'schedules', 'action' => 'add')); ?> </li>
		</ul>
	</div>
</div>
<div class="related">
	<h3><?php echo __('Related Schedules Options Users'); ?></h3>
	<?php if (!empty($scheduleOption['SchedulesOptionsUser'])): ?>
	<table cellpadding = "0" cellspacing = "0">
	<tr>
		<th><?php echo __('Id'); ?></th>
		<th><?php echo __('Rol Id'); ?></th>
		<th><?php echo __('Schedule Option Id'); ?></th>
		<th class="actions"><?php echo __('Actions'); ?></th>
	</tr>
	<?php foreach ($scheduleOption['SchedulesOptionsUser'] as $schedulesOptionsUser): ?>
		<tr>
			<td><?php echo $schedulesOptionsUser['id']; ?></td>
			<td><?php echo $schedulesOptionsUser['rol_id']; ?></td>
			<td><?php echo $schedulesOptionsUser['schedule_option_id']; ?></td>
			<td class="actions">
				<?php echo $this->Html->link(__('View'), array('controller' => 'schedules_options_users', 'action' => 'view', $schedulesOptionsUser['id'])); ?>
				<?php echo $this->Html->link(__('Edit'), array('controller' => 'schedules_options_users', 'action' => 'edit', $schedulesOptionsUser['id'])); ?>
				<?php echo $this->Form->postLink(__('Delete'), array('controller' => 'schedules_options_users', 'action' => 'delete', $schedulesOptionsUser['id']), null, __('Are you sure you want to delete # %s?', $schedulesOptionsUser['id'])); ?>
			</td>
		</tr>
	<?php endforeach; ?>
	</table>
<?php endif; ?>

	<div class="actions">
		<ul>
			<li><?php echo $this->Html->link(__('New Schedules Options User'), array('controller' => 'schedules_options_users', 'action' => 'add')); ?> </li>
		</ul>
	</div>
</div>
